package edu.langnan.xiaoli.service;

import edu.langnan.xiaoli.core.domain.PictureDO;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author cql
 */
public interface FileUploadService {

    /**
     * 图片上传
     *
     * @param images
     * @return
     */
    PictureDO uploadImg(MultipartFile images);

    /**
     * 删除图片
     *
     * @param pictureDO
     */
    void deleteImage(PictureDO pictureDO);
}
